SGSetVideoCompressorType
TheSGSetVideoCompressorType
function allows the sequence grabber component to specify the type of image compression your component is to apply to the captured video images.
pascal ComponentResult SGSetVideoCompressorType (SGChannel c, OSType compressorType);
c
- Identifies the channel connection for this operation.
compressorType
- Specifies the type of image compression to use. The value of this parameter must correspond to one of the image compressor types supported by the Image Compression Manager. Currently, six
CodecType
values are provided by Apple. You should use theGetCodecNameList
function to retrieve these names, so that your application can take advantage of new compressor types that may be added in the future. For eachCodecType
value in the following list, the corresponding compression method is also identified by its text
string name.
Compressor type Compressor name 'rpza' video compressor 'jpeg' photo compressor 'rle ' animation compressor 'raw ' raw compressor 'smc ' graphics compressor 'cvid' compact video compressor - See the chapter "Image Compression Manager" in Inside Macintosh: QuickTime for information about valid compressor types. If this value is set to 0, its default compression type is selected.
DESCRIPTION
In addition, your component should reset all image-compression parameters
to their default values. The sequence grabber component can then use theSGSetVideoCompressor
function, described on page 6-65, to change those compression parameters.RESULT CODES
cantDoThatInCurrentMode -9402 Request invalid in current mode notEnoughMemoryToGrab -9403 Insufficient memory for record operation deviceCantMeetRequest -9408 Device cannot support grabber
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help